<?php

class CliController extends \App\controllers\BaseController {

    public function testAction()
    {
        $logger = \Yaf\Registry::get('logger');
        $logger->info("122121212cli");
        echo "This is the index action of Api_PassportController";
        // 其他代码
    }

}